const path = require("path");
module.exports = {
    publicPath: '/',
    configureWebpack: config => {
        Object.assign(config, {
            resolve: {
                alias: {
                    "@": path.resolve(__dirname, './src'),
                    "@v": path.resolve(__dirname, './src/views'),
                    "@c": path.resolve(__dirname, './src/components'),
                    "@h": path.resolve(__dirname, './src/http'),
                    "@a": path.resolve(__dirname, './src/assets'),
                    "@r": path.resolve(__dirname, './src/router'),
                    "@s": path.resolve(__dirname, './src/store'),
                }
            }
        })
    }
}